package org.alvin.code.tools;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.stream.Collectors;

public class TestMerge {

    public static void main(String[] args) throws IOException {
        Path path = Paths.get("D:", "test.sql");
        AFileUtils.mergeFiles(path, Files.list(Paths.get("F:\\tangzhichao\\qds_版本管理\\第3次发版\\发版后结构")).collect(Collectors.toList()).toArray(new Path[0]));
    }
}
